package com.smedi.ismedi.personnel.core.infrastructure.enumerate;

import com.baomidou.mybatisplus.annotation.IEnum;

/**
 * @Author: xulinjun
 * @Date: 2021-6-9 13:42
 */
public enum CapacityEnum implements IEnum<Integer> {
    BYTE(1),

    KB(2),

    MB(3),

    GB(4);

    private Integer value;

    CapacityEnum(Integer value) {
        this.value = value;
    }

    @Override
    public Integer getValue() {
        return value;
    }
}
